from enum import Enum


class App2Package(Enum):
    WeChat = ['com.tencent.mm', '.ui.LauncherUI']
    TencentNews = ['com.tencent.news', '.activity.SplashActivity']


class WeChatConstant(Enum):
    TextBox = 'com.tencent.mm:id/o4q'
    SendBtn = 'com.tencent.mm:id/bql'
    MainNavRedMsg1 = 'com.tencent.mm:id/osw'
    MainUIRedMsg = 'com.tencent.mm:id/o_u'
    MessageEl = 'android.widget.TextView'
    MainNavFinding = 'com.tencent.mm:id/h6y'
    FriendsCircle = '朋友圈'
    SetupDynamic = 'com.tencent.mm:id/coz'


class TencentNewsConstant(Enum):
    SkipBtn = '跳过'
    SearchBox = 'com.tencent.news:id/home_channel_search_box'
    SearchBtn = '搜索'
    ConsultingService = '//*[@content-desc="资讯，可选中"]/android.view.View[1]'


class A(object):
    a = 'a'
    b = 'b'


class B(A):
    pass


class C(A):
    pass
